package com.hq.bean;

public class Article {
    private Integer aid;
    private Integer tid;
    private String title;
    private String img;
    private String content;
    private String createtime;

    @Override
    public String toString() {
        return "Article{" +
                "aid=" + aid +
                ", tid=" + tid +
                ", title='" + title + '\'' +
                ", img='" + img + '\'' +
                ", content='" + content + '\'' +
                ", createtime='" + createtime + '\'' +
                '}';
    }

    public Integer getAid() {
        return aid;
    }

    public void setAid(Integer aid) {
        this.aid = aid;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public Article() {
    }

    public Article(Integer aid, Integer tid, String title, String img, String content, String createtime) {
        this.aid = aid;
        this.tid = tid;
        this.title = title;
        this.img = img;
        this.content = content;
        this.createtime = createtime;
    }
}
